import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
//引入store
import store from './store/store';
//引入react-redux上的Provider组件，给其设置属性store等于store
import { Provider } from 'react-redux';
//引入路由模块
import { BrowserRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <App/>
  </Provider>
)